<template>
	<view>
		<view class="title">订单支付成功</view>
		<view class="price">支付金额:{{price}}元</view>
		<navigator class="btn" url="../../../my/my" open-type="switchTab">个人中心</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				price:''
			};
		},
		onLoad(options) {
			this.price = options.price;
			console.log(this.price)
		}
	}
</script>

<style lang="scss" scoped>
	.title {
		// display: block;
		width: 100%;
		text-align: center;
		font-size: 48rpx;
		margin-top: 300rpx;
	}
	.price {
		width: 100%;
		text-align: center;
	}
	
		.btn {
			display: block;
			margin: auto;
			margin-top: 600rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 120rpx;
			padding: 0 50rpx;
			height: 70rpx;
			border: solid 2rpx #354e44;
			color: #354e44;
			align-items: center;
			border-radius: 10rpx;
			font-size: 30rpx;
		}
	
</style>
